package pers.xhh.shopapi;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
// extends SpringBootServletInitializer 打包war用到
public class ShopapiApplication  {

    public static void main(String[] args) {
        SpringApplication.run(ShopapiApplication.class, args);
    }
//    @Override
//    protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
//        return builder.sources(ShopapiApplication.class);
//    }

}
